import Request from '@/utils/request';
import Config from '@/config';

export function getUserType() {
  return Request({
    url: Config.getUserType,
    method: 'post'
  });
}

export function getVisitorIndex(data) {
  return Request({
    url: Config.getVisitorIndex,
    method: 'post',
    data
  });
}

export function getVTrainClassPageList(data) {
  return Request({
    url: Config.getVTrainClassPageList,
    method: 'post',
    data
  });
}

export function getVTrainClassInfo(data) {
  return Request({
    url: Config.getVTrainClassInfo,
    method: 'post',
    data
  });
}


export function GetStudentIndex(data) {
  return Request({
    url: Config.GetStudentIndex,
    method: 'post',
    data
  });
}

export function isNeedCompleteInfo() {
  return Request({
    url: Config.isNeedCompleteInfo,
    method:'post'
  });
}
